All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.core.FileManager

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.core.FileManager

public class FileManager
extends NativeObject
This class wraps the Objective-C class NSFileManager.


Constructor Index

 o FileManager()
This default constructor is equivalent to Objective-C's [[NSFileManager alloc] init].
 o FileManager(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.

Method Index

 o changeCurrentDirectoryPath(String)
A wrapper for the - changeCurrentDirectoryPath: Objective-C instance method.
 o changeFileAttributes(Dictionary, String)
A wrapper for the - changeFileAttributes:atPath: Objective-C instance method.
 o contents(String)
A wrapper for the - contentsAtPath: Objective-C instance method.
 o contentsEqual(String, String)
A wrapper for the - contentsEqualAtPath:andPath: Objective-C instance method.
 o copyPath(String, String, Object)
A wrapper for the - copyPath:toPath:handler: Objective-C instance method.
 o createDirectory(String, Dictionary)
A wrapper for the - createDirectoryAtPath:attributes: Objective-C instance method.
 o createFile(String, Data, Dictionary)
A wrapper for the - createFileAtPath:contents:attributes: Objective-C instance method.
 o createSymbolicLink(String, String)
A wrapper for the - createSymbolicLinkAtPath:pathContent: Objective-C instance method.
 o currentDirectoryPath()
A wrapper for the - currentDirectoryPath Objective-C instance method.
 o defaultManager()
A wrapper for the + defaultManager Objective-C class method.
 o directoryContents(String)
A wrapper for the - directoryContentsAtPath: Objective-C instance method.
 o enumeratorAtPath(String)
A wrapper for the - enumeratorAtPath: Objective-C instance method.
 o fileAttributes(String, boolean)
A wrapper for the - fileAttributesAtPath:traverseLink: Objective-C instance method.
 o fileExists(String)
A wrapper for the - fileExistsAtPath: Objective-C instance method.
 o fileSystemAttributes(String)
A wrapper for the - fileSystemAttributesAtPath: Objective-C instance method.
 o fileSystemRepresentationWithPath(String)
A wrapper for the - _JavaWrapper_fileSystemRepresentationWithPath: Objective-C instance method.
 o isDeletableFile(String)
A wrapper for the - isDeletableFileAtPath: Objective-C instance method.
 o isExecutableFile(String)
A wrapper for the - isExecutableFileAtPath: Objective-C instance method.
 o isReadableFile(String)
A wrapper for the - isReadableFileAtPath: Objective-C instance method.
 o isWritableFile(String)
A wrapper for the - isWritableFileAtPath: Objective-C instance method.
 o linkPath(String, String, Object)
A wrapper for the - linkPath:toPath:handler: Objective-C instance method.
 o movePath(String, String, Object)
A wrapper for the - movePath:toPath:handler: Objective-C instance method.
 o pathContentOfSymbolicLink(String)
A wrapper for the - pathContentOfSymbolicLinkAtPath: Objective-C instance method.
 o removeFile(String, Object)
A wrapper for the - removeFileAtPath:handler: Objective-C instance method.
 o stringWithFileSystemRepresentation(String, int)
A wrapper for the - _JavaWrapper_stringWithFileSystemRepresentation:length: Objective-C instance method.
 o subpathsAtPath(String)
A wrapper for the - subpathsAtPath: Objective-C instance method.

Constructors

 o FileManager
 protected FileManager(boolean shouldAllocate,
                       int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o FileManager
 public FileManager()
This default constructor is equivalent to Objective-C's [[NSFileManager alloc] init].

Methods

 o defaultManager
 public static native FileManager defaultManager()
A wrapper for the + defaultManager Objective-C class method.

 o currentDirectoryPath
 public native String currentDirectoryPath()
A wrapper for the - currentDirectoryPath Objective-C instance method.

 o changeCurrentDirectoryPath
 public native boolean changeCurrentDirectoryPath(String path)
A wrapper for the - changeCurrentDirectoryPath: Objective-C instance method.

 o fileAttributes
 public native Dictionary fileAttributes(String path,
                                         boolean yorn)
A wrapper for the - fileAttributesAtPath:traverseLink: Objective-C instance method.

 o changeFileAttributes
 public native boolean changeFileAttributes(Dictionary attributes,
                                            String path)
A wrapper for the - changeFileAttributes:atPath: Objective-C instance method.

 o fileExists
 public native boolean fileExists(String path)
A wrapper for the - fileExistsAtPath: Objective-C instance method.

 o isReadableFile
 public native boolean isReadableFile(String path)
A wrapper for the - isReadableFileAtPath: Objective-C instance method.

 o isWritableFile
 public native boolean isWritableFile(String path)
A wrapper for the - isWritableFileAtPath: Objective-C instance method.

 o isExecutableFile
 public native boolean isExecutableFile(String path)
A wrapper for the - isExecutableFileAtPath: Objective-C instance method.

 o isDeletableFile
 public native boolean isDeletableFile(String path)
A wrapper for the - isDeletableFileAtPath: Objective-C instance method.

 o contentsEqual
 public native boolean contentsEqual(String path1,
                                     String path2)
A wrapper for the - contentsEqualAtPath:andPath: Objective-C instance method.

 o linkPath
 public native boolean linkPath(String src,
                                String dest,
                                Object handler)
A wrapper for the - linkPath:toPath:handler: Objective-C instance method.

 o copyPath
 public native boolean copyPath(String src,
                                String dest,
                                Object handler)
A wrapper for the - copyPath:toPath:handler: Objective-C instance method.

 o movePath
 public native boolean movePath(String src,
                                String dest,
                                Object handler)
A wrapper for the - movePath:toPath:handler: Objective-C instance method.

 o removeFile
 public native boolean removeFile(String path,
                                  Object handler)
A wrapper for the - removeFileAtPath:handler: Objective-C instance method.

 o directoryContents
 public native Array directoryContents(String path)
A wrapper for the - directoryContentsAtPath: Objective-C instance method.

 o enumeratorAtPath
 public native DirectoryEnumerator enumeratorAtPath(String path)
A wrapper for the - enumeratorAtPath: Objective-C instance method.

 o subpathsAtPath
 public native Array subpathsAtPath(String path)
A wrapper for the - subpathsAtPath: Objective-C instance method.

 o createDirectory
 public native boolean createDirectory(String path,
                                       Dictionary attributes)
A wrapper for the - createDirectoryAtPath:attributes: Objective-C instance method.

 o contents
 public native Data contents(String path)
A wrapper for the - contentsAtPath: Objective-C instance method.

 o createFile
 public native boolean createFile(String path,
                                  Data data,
                                  Dictionary attr)
A wrapper for the - createFileAtPath:contents:attributes: Objective-C instance method.

 o pathContentOfSymbolicLink
 public native String pathContentOfSymbolicLink(String path)
A wrapper for the - pathContentOfSymbolicLinkAtPath: Objective-C instance method.

 o createSymbolicLink
 public native boolean createSymbolicLink(String path,
                                          String otherpath)
A wrapper for the - createSymbolicLinkAtPath:pathContent: Objective-C instance method.

 o fileSystemAttributes
 public native Dictionary fileSystemAttributes(String path)
A wrapper for the - fileSystemAttributesAtPath: Objective-C instance method.

 o fileSystemRepresentationWithPath
 public native String fileSystemRepresentationWithPath(String path)
A wrapper for the - _JavaWrapper_fileSystemRepresentationWithPath: Objective-C instance method.

 o stringWithFileSystemRepresentation
 public native String stringWithFileSystemRepresentation(String external,
                                                         int len)
A wrapper for the - _JavaWrapper_stringWithFileSystemRepresentation:length: Objective-C instance method.


All Packages  Class Hierarchy  This Package  Previous  Next  Index